package com.chengxiaoxiao.ai_demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 文件存储配置
 *
 * @Description:
 * @Author Cheng Xiaoxiao
 * @Date: 2025/3/17 14:09
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "langchain4j.rag.retrieval")
public class RagProperties {
    /**
     * 结果集数量
     */
    private Integer maxResults = 10;

    /**
     * 最小分数
     */
    private Double minScore = 0.7;
}
